package com.yqg.protection.mapper;

import com.yqg.protection.entity.EquipmentDevice;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zxf
 * @since 2024-09-11
 */
@Mapper
public interface EquipmentDeviceMapper extends BaseMapper<EquipmentDevice> {

    List<EquipmentDevice> findPage(Integer pageNum, Integer pageSize, Integer level, Long organizationId, String deviceName, String clientName, String isAllClient, List<Long> clientIds);

    Long findPageCount(Integer level, Long organizationId, String deviceName, String clientName, String isAllClient, List<Long> clientIds);

    List<EquipmentDevice> exportData(Long organizationId, String deviceName, String clientName, Integer level, String isAllClient, List<Long> clientIds);
}
